home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / graphics.17 / graphics / graphics-0.17 / dist-stat / prhelp.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-11-14  |  891 b   |  45 lines

  1. /*
  2.  * $Header: /files1/home/toy/src/stat/RCS/prhelp.c,v 1.2 90/09/10 12:48:30 toy Exp $
  3.  * NAME
  4.  *    print_help_strings - print help strings to stderr
  5.  *
  6.  * SYNOPSIS
  7.  *    print_help_strings(str_array)
  8.  *    char    *str_array[];
  9.  *
  10.  * DESCRIPTION
  11.  *    Print the array of strings to stderr.  The array
  12.  *    must end with a NULL pointer (as opposed to the
  13.  *    null string "").
  14.  *
  15.  * HISTORY
  16.  * $Log:    prhelp.c,v $
  17.  * Revision 1.2  90/09/10  12:48:30  toy
  18.  * Added RCSID.
  19.  *
  20.  * Revision 1.1  90/09/04  16:03:24  toy
  21.  * Initial revision
  22.  *
  23.  */
  24.  
  25. #include <stdio.h>
  26.  
  27. #ifndef    lint
  28. static char RCSID[] = "@(#) $Id: prhelp.c,v 1.2 90/09/10 12:48:30 toy Exp $";
  29. #endif
  30.  
  31. #if    defined(__STDC__) || defined(__GNUC__)
  32. void
  33. print_help_strings (const char *str_array[])
  34. #else
  35. void
  36. print_help_strings (str_array)
  37.      char *str_array[];
  38. #endif
  39. {
  40.   while (*str_array != NULL)
  41.     {
  42.       fputs (*str_array++, stderr);
  43.     }
  44. }
  45.